# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=py3-pyroute2.ipset
_pkgname=pyroute2.ipset
pkgver=0.6.9
pkgrel=0
pkgdesc="Python Netlink library: ipset"
url="https://github.com/svinota/pyroute2"
arch="noarch"
license="GPL-2.0-or-later OR Apache-2.0"
makedepends="py3-setuptools"
depends="py3-pyroute2.core"
options="!check" # not supported for pr2modules namespace
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
7aa2be1befee6a8564e809df0f524e8a6f1ffd29c0bfbd3ad284a92de124eced1e66306094362960ca063787b302336c1414dba0b9839bcb2acc1def11003548  pyroute2.ipset-0.6.9.tar.gz
"
